module.exports = [
    {
        icon: 'el-icon-odometer',
        name: '仪表盘',
        id: 'dashboard',
        componentName: 'Dashboard',
        roles: ['admin', 'user']
    },
    {
        icon: 'el-icon-cpu',
        name: '管理员',
        id: 'sysPage',
        roles: ['admin'],
        sub: [{
            icon: 'el-icon-user',
            name: '用户管理',
            id: 'userList',
            componentName: 'UserList',
            roles: ['admin']
        },{
            icon: 'el-icon-user',
            name: '定时任务',
            id: 'taskList',
            componentName: 'TaskList',
            roles: ['admin']
        }]
    },
    {
        icon: 'el-icon-data-analysis',
        name: '基础示例',
        id: 'basic',
        roles: ['admin'],
        sub: [{
            icon: 'el-icon-tickets',
            name: '列表',
            id: 'list',
            componentName: 'List',
            roles: ['admin']
        },{
            icon: 'el-icon-tickets',
            name: '404',
            id: 'error404',
            componentName: 'Error404',
            roles: ['admin']
        },{
            icon: 'el-icon-tickets',
            name: '403',
            id: 'error403',
            componentName: 'Error403',
            roles: ['admin']
        },{
            icon: 'el-icon-tickets',
            name: '500',
            id: 'error500',
            componentName: 'Error500',
            roles: ['admin']
        }]
    }
]
